﻿using AutoTest.Domain.Enums;

namespace AutoTest.Business.Dto.Order
{
    /// <summary>
    /// 创建订单
    /// </summary>
    public class CreateOrderDto
    {
        /// <summary>
        /// 商品Id
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 订单类型
        /// </summary>
        public EnumOrderType OrderType { get; set; } = EnumOrderType.BuyProduct;
        /// <summary>
        /// 支付平台
        /// </summary>
        public EnumPlatform Platform { get; set; } = EnumPlatform.Wechat;
        /// <summary>
        /// 支付方式
        /// </summary>
        public EnumPayType PayType { get; set; } = EnumPayType.WxJs;
        /// <summary>
        /// IP
        /// </summary>
        public string IP { get; set; } = string.Empty;
    }
}
